package com.zcj.demo.web.errors;

/**
 * @author 68300119
 * @Date 2021/1/28
 **/
public class BusinessException extends RuntimeException {
    private static final long serialVersionUID = -8916053097424091043L;

    private String message;

    public BusinessException(String msg) {
        super(msg);
        this.message = msg;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }
}
